package com.niuwa.p2p.dao.channel;


import com.niuwa.p2p.dao.MyBatisDao;
import com.niuwa.p2p.entity.channel.ChannelInfo;

@MyBatisDao
public interface ChannelInfoDao {
	int deleteByPrimaryKey(String channelCode);

	int insert(ChannelInfo record);

	int insertSelective(ChannelInfo record);

	ChannelInfo selectByPrimaryKey(String channelCode);

	int updateByPrimaryKeySelective(ChannelInfo record);

	int updateByPrimaryKey(ChannelInfo record);
	
	int updateApproveAmountByPrimaryKey(ChannelInfo channelInfo);
	
}